Learn R Programming

Directional (version 2.4)

BIC for the model based clustering using mixtures of von Mises-Fisher distributions: BIC to choose the number of components in a model based clustering using mixtures of von Mises-Fisher distributions

Description

BIC to choose the number of components in a model based clustering using mixtures of von Mises-Fisher distributions

Usage

bic.mixvmf(x, A)

Arguments

x
A matrix containing directional data.
A
The maximum number of clusters to be tested. Default value is 3.

Value

A list including: A list including:

Details

If the data are not unit vectors, they are transformed into unit vectors.

References

Hornik, K. and Grun, B. (2014). movMF: An R package for fitting mixtures of von Mises-Fisher distributions. Journal of Statistical Software, 58(10):1--31.

See Also

mix.vmf, rmixvmf, mixvmf.contour

Examples

Run this code
x <- as.matrix( iris[, 1:4] )
x <- x / sqrt( rowSums(x^2) )
bic.mixvmf(x, 5)

Run the code above in your browser using DataLab